/**
 * 
 */
package ru.olympus.antonyhands.ao.shared.item;

import java.util.List;

import ru.olympus.antonyhands.ao.shared.util.StringPair;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author AntonyHands
 * @since 28.02.2012
 */
public class ItemDTO implements IsSerializable
{
    private StringPair item;
    private StringPair category;
    private String fixedPrice;
    private String craftPrice;
    private String marketPrice;
    private CraftInfoDTO craftInfo;
    private List<CraftInfoDTO> createdItems;
    
    public ItemDTO()
    {
        
    }

    public ItemDTO(StringPair _item, StringPair _category, String _fixedPrice, String _craftPrice, String _marketPrice, CraftInfoDTO _craftInfo, List<CraftInfoDTO> _createdItems)
    {
        item = _item;
        category = _category;
        fixedPrice = _fixedPrice;
        craftPrice = _craftPrice;
        marketPrice = _marketPrice;
        craftInfo = _craftInfo;
        createdItems = _createdItems;
    }

    public String getItemTitle()
    {
        return item.getValue();
    }
    
    public String getCategoryTitle()
    {
        return category.getValue();
    }
    
    public String getFixedPrice()
    {
        return fixedPrice;
    }

	public String getCraftPrice() {
		return craftPrice;
	}

	public String getMarketPrice() {
		return marketPrice;
	}

	public CraftInfoDTO getCraftInfo() {
		return craftInfo;
	}

	public List<CraftInfoDTO> getCreatedItems() {
		return createdItems;
	}
}
